package com.jiazhong.spring.ioc.annotation;

import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
@Data
public class DemoE2 {

    private DemoA a;
    private DemoB b;
    private DemoD d;

    @Autowired
    public DemoE2(DemoA a, DemoB b, DemoD d) {
        this.a = a;
        this.b = b;
        this.d = d;
    }
}
